<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="${grailsApplication.config.gk.layout}" />
        <title>Register</title>
    </head>
    <body>
        <div class="body">

          <g:if test="${flash.permissionMessage}">
          <div class="message">
            ${flash.permissionMessage}
            <g:if test="${session.user==''}">
<br/>
                You are not logged in - log in below to access the information.
            </g:if>
            </div>
          </g:if>


          <g:if test="${flash.messageCreate}">
          <div class="message">${flash.messageCreate}</div>
          </g:if>
          <h2>Create account</h2>
          <g:form action='createProcess'>

          Username: <input type='text' name='username'/><br/>
          Email: <input type='text' name='email'/><br/>
          Password: <input type='password' name='password'/><br/>
          Confirm password: <input type='password' name='confirm'/><br/>

          <input type='submit' value='Create your account'/>    
          </g:form>

        </div>
        
  </body>
</html>
